const express = require('express')
const router = express.Router()

// 导入相关处理函数模块
const commentApi = require('../api/comment')

// 获取全部评论列表
router.get('/getallcommentlist', commentApi.getallcommentlist)

// 修改评论
router.post('/setcomment', commentApi.setcomment)

// 删除用户
router.post('/delcomment', commentApi.delcomment)


module.exports = router